
using Core.SimpleTemp.Application.UserApp;
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(CBS_TrainRecord))]
    public class CBS_TrainRecordDto : Dto
    {
        /// <summary>
        /// 培训课件ID
        /// </summary>
        public Guid? CBSCourseId { get; set; }
        /// <summary>
        /// 培训人
        /// </summary>
        public Guid? Trainer { get; set; }
        /// <summary>
        /// 培训人
        /// </summary>
        public SysUserInfor TrainerModel { get; set; }
        [ConcurrentKeyToValue("9008", "Trainer")]
        public string TrainerText { get; set; }
        /// <summary>
        /// 培训日期
        /// </summary>
        public DateTime? TrainingDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CBSListID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        //public Guid? Annex { get; set; }
        public Guid? AttachmentId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public String AttachmentName { get; set; }
        /// <summary>
        /// 状态(保存/提交)
        /// </summary>
        public String status { get; set; }
        [ConcurrentKeyToValue("9008", "CreateUser")]
        public String CreateUserText { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }
        /// <summary>
        /// 培训类型：包括入场培训、复训、专业知识
        /// </summary>
        public string Mark01 { get; set; }

        public string Mark02 { get; set; }

        public string Mark03 { get; set; }
        public ICollection<CBS_TrainRecordUserDto> CBS_TrainRecordUser { get; set; }

        public CBS_CourseDto CBS_Course { get; set; }
        public SysUserInforDto SysUserInfor { get; set; }

        public CBS_ListDto CBS_List { get; set; }
    }
}
